<template>
    <m-modal ref="modalRef" title="添加成员" @ok="handleOk">
      用户列表
    </m-modal>
    </template>
    <script setup lang="ts">
    import { ref } from 'vue';
    
    const modalRef = ref();
    const currentRecord = ref(null);
    const handleOk = () =>{}
    defineExpose({
      show(record: any) {
        currentRecord.value = record;
        modalRef.value?.openModal()
      }
    })
    </script>
    <style lang="less" scoped>
    
    </style>